﻿<!doctype html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <!-- 引入样式 -->
    <link rel="stylesheet" href="plugins/elementui/index.css">
    <link rel="stylesheet" href="plugins/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="css/style.css">

    <script src="js/vue.js"></script>
    <script src="plugins/elementui/index.js"></script>
    <title>登录</title>
    <link rel="stylesheet" type="text/css" href="css/styles.css">
    <script src="/js/healthmobile.js"></script>
    <script>
        var flag = getUrlParam('info')
    </script>
</head>
<body>
<div class="htmleaf-container" id="vue">
    <div class="wrapper">
        <div class="container">
            <h1>欢迎登陆</h1>

            <form class="form" action="/login.do" method="post">
                <input type="text" placeholder="用户名" name="username" autocomplete="off">
                <input type="password" placeholder="密码" name="password" autocomplete="off">
                <button  type="submit">登录</button>
            </form>
        </div>

    </div>
</div>


<script src="js/jquery-2.1.1.min.js" type="text/javascript"></script>
<script>
/*    $('#login-button').click(function (event) {
        event.preventDefault();
        $('form').fadeOut(500);
        $('.wrapper').addClass('form-success');
    });*/
</script>

<script>

    new Vue({
        el: '#vue',
        created() {
		 if(flag === 'false'){
		     this.$message.error('用户名或密码错误')
             return false;
         }
        },


    })



</script>

<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';color:#000000">
    <h1>传智健康后台管理系统</h1>
</div>
</body>
</html>